package yndxPG.pkgObj;

public class PkgHead {
    public static final int HEAD_LEN=4 + 4 + 36;

    private int version;
    private int msgType;
    private String transactionId;
    private int len;
    public int getVersion() {
        return version;
    }
    public void setVersion(int version) {
        this.version = version;
    }
    public int getMsgType() {
        return msgType;
    }
    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }
    public String getTransactionId() {
        return transactionId;
    }
    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }
    public int getLen() {
        return len;
    }
    public void setLen(int len) {
        this.len = len;
    }
    @Override
    public String toString() {
        return "PkgHead [version=" + version + ", msgType=" + msgType
                + ", transactionId=" + transactionId + ", len=" + len + "]";
    }

}
